#include<conio.h>
#include<stdio.h>
#include<iostream>
using namespace std;
class CRectangle 
{
	int x,y;
public:
	void setvalue(int a, int b);
	int area();
};
void CRectangle::setvalue(int a, int b)
{
	x=a;
	y=b;
}
int CRectangle::area()
{
	return (x*y);

}
int main()
{
	CRectangle*rect=new CRectangle();
	rect->setvalue(3,4);
	cout<<"area:"<<rect->area();
	getch();
	return 0;
}